package start.designpattern.factory.abstractdemo;


import start.designpattern.factory.abstractdemo.helper.*;

public class BaoMaCarFactory implements CarFactory {
    @Override
    public Engine createEngine() {
        return new EngineBaoMa("宝马");
    }

    @Override
    public Seat createSeat() {
        return new SeatAoBaoMa("宝马");
    }

    @Override
    public Tyre createTyre() {
        return new TyreBaoMa("宝马");
    }
}